package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 考核项得分对象 assess_item_score
 * 
 * @author training
 * @date 2021-10-25
 */
public class AssessItemScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long scoreId;

    /** 员工Id */
    @Excel(name = "员工Id")
    private Long userId;

    /** 考核Id */
    @Excel(name = "考核Id")
    private Long assessId;

    /** 考核项Id */
    @Excel(name = "考核项Id")
    private Long itemId;

    /** 得分 */
    @Excel(name = "得分")
    private Long score;

    public void setScoreId(Long scoreId) 
    {
        this.scoreId = scoreId;
    }

    public Long getScoreId() 
    {
        return scoreId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAssessId(Long assessId) 
    {
        this.assessId = assessId;
    }

    public Long getAssessId() 
    {
        return assessId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("userId", getUserId())
            .append("assessId", getAssessId())
            .append("itemId", getItemId())
            .append("score", getScore())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
